package com.escape.subject.domain.convert;

import com.escape.subject.domain.entity.SubjectCategoryBO;
import com.escape.subject.infra.basic.entity.SubjectCategory;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @Author: escape_zebra
 * @CreateTime: 2024-12-18  12:19
 * @Description: TODO
 * @Version: 1.0
 */
@Mapper
public interface SubjectCategoryConvert {

    SubjectCategoryConvert INSTANCE = Mappers.getMapper(SubjectCategoryConvert.class);

    SubjectCategory convertBoToCategory(SubjectCategoryBO subjectCategoryBO);

    List<SubjectCategoryBO> convertCategoryListToBoList(List<SubjectCategory> list);
}
